<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
       
        <div align="center">
            <p:tab>
            <p:panelGrid>
                <p:row>
                    <p:column colspan="2"><h:outputLabel value="Logowanie"/></p:column>
                </p:row>
                
                <p:row>
                    <p:column>
                        <h:outputLabel value="Login: "/>
                        <p:inputText id="log" value="xxx"/>
                    </p:column>
                </p:row>
               
                <p:row>
                    <p:column>
                        <h:outputLabel value="Hasło: "/>
                        <p:password value="xxx"/>
                    </p:column>                     
                </p:row>
                
                <p:row>
                    <p:column colspan="2"><p:button value="Login" outcome="welcomePrimefaces"/></p:column>
                </p:row>
            </p:panelGrid>
            </p:tab>    
        </div>  
        <br />
        <h:link outcome="welcomePrimefaces" value="Primefaces welcome page" />
        <br />
        <form action="Serv.do">  
            <input type="text" name="x"/>
            <input type="submit" value="OK"/>
        </form>    
    </h:body>
</html>

